1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


I-333 If you are troubleshooting clients running TCP/IP and you aren’t using DHCP (shame on you), you often need to adjust particular settings. Using the remote capabilities of Regedt32, you are just a few registry entries away from tweaking TCP/IP to your heart’s content. These registry entries store most of the standard TCP/IP information.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Tcpip\Parameters
Value Name: Hostname
Data Type: REG_SZ
Value: <computer name> Example: BigDog

This value is the DNS name of your computer. When users issue a “ping -a 200.200.200.1” command, your system returns this value.

I-334 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Tcpip\Parameters
Value Name: IPAddress
Data Type: REG_MULTI_SZ
Value: any valid IP address. Example: 200.200.200.1

This value is the IP address of a particular machine. Issuing a “ping -a <hostname>” command returns this value.

I-335 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Tcpip\Parameters
Value Name: SearchList
Data Type: REG_SZ
Value: any valid list of DNS suffixes. Examples: .com .org .edu

When your system tries to resolve a <machine name> via DNS, it applies this list of suffixes to the generic <machine name>. If you specify bigdog.winntmag, the first suffix applied to this request is .com. The resultant query then searches for bigdog.winntmag.com.

I-336 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\<adapter name>\ Parameters\Tcpip
Value Name: SubnetMask
Data Type: REG_MULTI_SZ
Value: any valid list of IP addresses

Windows NT uses this value when it applies the subnet mask to a particular IP interface bound to an adapter.

DHCP

I-337 To enable the DHCP client service on a remote system, you can use the Select Computer option in Regedt32.exe to remotely change this registry entry. It tells Windows NT to configure the first IP interface on the machine using DHCP.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\<adapter name>\ Parameters\Tcpip
Value Name: EnableDhcp
Data Type: REG_DWORD
Value: 1

You need to restart the client for these changes to take effect.

I-338 Ever since you installed DHCP, your network traffic has gone up. This registry parameter helps reduce network broadcast traffic.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\DhcpServer\Parameters

Add the following value under the Parameters key:

Value Name: IgnoreBroadcastFlag
Data Type: REG_DWORD
Value: 0

This registry modification works only on homogenous Ethernet networks or same-subnet Token-Ring networks. If your network has a router that translates MAC-level addresses, do not modify this registry entry.


Previous Table of Contents Next